import React from 'react'
import { useLocation } from "react-router-dom";
export default function About() {
  let location = useLocation();
  let hhh
  let yyy
  if (!location.state) {
    hhh = ''
    yyy = ''
  } else {
    hhh = location.state.hhh
    yyy = location.state.yyy
  }
  // console.log(location.state)
  return (
    <>
      <div>About</div>
      <div>
        <p>{hhh}</p>
        <p>{yyy}</p>
      </div>
    </>
  )
}
